package ru.averta.notes.service;

import java.io.Serializable;
import java.util.Collection;

public interface BusinessObjectService<T, PK extends Serializable> {

	T create(T newInstance);

    T findByID(PK id);

    void save(T transientObject);
    
    void remove(T object);
    
    Collection<T> findAll(Integer i);
    
}
